home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Development Kits / Cross Platform / QuickTime 4.1.2 Windows SDK / CIncludes / AEPackObject.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-04-12  |  2.0 KB  |  101 lines  |  [TEXT/R*ch]

  1. /*
  2.      File:        AEPackObject.h
  3.  
  4.      Contains:    AppleEvents object packing Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    QuickTime 4.1
  8.  
  9.      Copyright:    (c) 1991-1999 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17. #ifndef __AEPACKOBJECT__
  18. #define __AEPACKOBJECT__
  19.  
  20. #ifndef __APPLEEVENTS__
  21.     #include <AppleEvents.h>
  22. #endif
  23.  
  24.  
  25.  
  26.  
  27. #if PRAGMA_ONCE
  28. #pragma once
  29. #endif
  30.  
  31. #ifdef __cplusplus
  32. extern "C" {
  33. #endif
  34.  
  35. #if PRAGMA_IMPORT
  36. #pragma import on
  37. #endif
  38.  
  39. #if PRAGMA_STRUCT_ALIGN
  40.     #pragma options align=mac68k
  41. #elif PRAGMA_STRUCT_PACKPUSH
  42.     #pragma pack(push, 2)
  43. #elif PRAGMA_STRUCT_PACK
  44.     #pragma pack(2)
  45. #endif
  46.  
  47. /* These are the object packing routines.  */
  48. EXTERN_API( OSErr )
  49. CreateOffsetDescriptor            (long                     theOffset,
  50.                                  AEDesc *                theDescriptor);
  51.  
  52. EXTERN_API( OSErr )
  53. CreateCompDescriptor            (DescType                 comparisonOperator,
  54.                                  AEDesc *                operand1,
  55.                                  AEDesc *                operand2,
  56.                                  Boolean                 disposeInputs,
  57.                                  AEDesc *                theDescriptor);
  58.  
  59. EXTERN_API( OSErr )
  60. CreateLogicalDescriptor            (AEDescList *            theLogicalTerms,
  61.                                  DescType                 theLogicOperator,
  62.                                  Boolean                 disposeInputs,
  63.                                  AEDesc *                theDescriptor);
  64.  
  65.  
  66. EXTERN_API( OSErr )
  67. CreateObjSpecifier                (DescType                 desiredClass,
  68.                                  AEDesc *                theContainer,
  69.                                  DescType                 keyForm,
  70.                                  AEDesc *                keyData,
  71.                                  Boolean                 disposeInputs,
  72.                                  AEDesc *                objSpecifier);
  73.  
  74. EXTERN_API( OSErr )
  75. CreateRangeDescriptor            (AEDesc *                rangeStart,
  76.                                  AEDesc *                rangeStop,
  77.                                  Boolean                 disposeInputs,
  78.                                  AEDesc *                theDescriptor);
  79.  
  80.  
  81. #if PRAGMA_STRUCT_ALIGN
  82.     #pragma options align=reset
  83. #elif PRAGMA_STRUCT_PACKPUSH
  84.     #pragma pack(pop)
  85. #elif PRAGMA_STRUCT_PACK
  86.     #pragma pack()
  87. #endif
  88.  
  89. #ifdef PRAGMA_IMPORT_OFF
  90. #pragma import off
  91. #elif PRAGMA_IMPORT
  92. #pragma import reset
  93. #endif
  94.  
  95. #ifdef __cplusplus
  96. }
  97. #endif
  98.  
  99. #endif /* __AEPACKOBJECT__ */
  100.  
  101.